package com.serialPort.web.domain;

import java.util.List;

/**
 * hl7消息实体
 */
public class HL7Message {
    //系统
    private SystemInfo systemInfo;
    //病人
    private PatientInfo patientInfo;
    //样本信息
    private SampleInfo sampleInfo;
    //检验信息
    private List<ObxInfo> obxInfoList;

    public SystemInfo getSystemInfo() {
        return systemInfo;
    }

    public void setSystemInfo(SystemInfo systemInfo) {
        this.systemInfo = systemInfo;
    }

    public PatientInfo getPatientInfo() {
        return patientInfo;
    }

    public void setPatientInfo(PatientInfo patientInfo) {
        this.patientInfo = patientInfo;
    }

    public SampleInfo getSampleInfo() {
        return sampleInfo;
    }

    public void setSampleInfo(SampleInfo sampleInfo) {
        this.sampleInfo = sampleInfo;
    }

    public List<ObxInfo> getObxInfoList() {
        return obxInfoList;
    }

    public void setObxInfoList(List<ObxInfo> obxInfoList) {
        this.obxInfoList = obxInfoList;
    }

    @Override
    public String toString() {
        return "HL7Message{" +
                "systemInfo=" + systemInfo +
                ", patientInfo=" + patientInfo +
                ", sampleInfo=" + sampleInfo +
                ", obxInfoList=" + obxInfoList +
                '}';
    }
}
